<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    {% include panel.html %}

    {% if a > 0 %}

        {% extends base.html%}

            {% block TestBlock%}

                tested by extends

            {% end %}

        {% end %}

    {% end %}

    {% block hello %}
        <p>hello</p>
    {% end%}
</body>
</html>